package gov.pbc.gx.nn.pz.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.bstek.dorado.annotation.PropertyDef;

/**
 * 
 * @author jack.zhao 该类主要记录坐标
 * 
 */
@Entity
@Table(name = "HC_PZ_XY")
public class HcpzXY extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@PropertyDef(label = "name", description = "name:name")
	@Column(name = "PZ_CODE_")
	private Integer pzCode;

	@PropertyDef(label = "label", description = "label:label")
	@Column(name = "LABEL_")
	private String label;

	@PropertyDef(label = "x坐标", description = "x坐标:x坐标")
	@Column(name = "X_")
	private int x;
	@PropertyDef(label = "Y坐标", description = "Y坐标:Y坐标")
	@Column(name = "Y_")
	private int y;

	@PropertyDef(label = "字体大小", description = "字体大小:字体大小")
	@Column(name = "FONTSIZE_")
	private int fontSize;

	
	public int getFontSize() {
		return fontSize;
	}

	public void setFontSize(int fontSize) {
		this.fontSize = fontSize;
	}

	public Integer getPzCode() {
		return pzCode;
	}

	public void setPzCode(Integer pzCode) {
		this.pzCode = pzCode;
	}

	public String getLabel() {
		return label;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	public int getX() {
		return x;
	}

	public void setX(int x) {
		this.x = x;
	}

	public int getY() {
		return y;
	}

	public void setY(int y) {
		this.y = y;
	}

	public void setProperty(String label, int x, int y,int fontSize) {
		this.label = label;
		this.x = x;
		this.y = y;
		this.fontSize = fontSize;
	}
	// public HcXjpzXY(String label, int x, int y) {
	// super();
	// this.label = label;
	// this.x = x;
	// this.y = y;
	// }

}
